<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">

function sendForm(flag){
	var form1 = document.getElementById("form1");
	if(flag=='logout'){
		form1.action = "${initParam.rootPath }/member/logout.do";
	}else if(flag=='myPage'){
		form1.action = "${initParam.rootPath}/liquor/myAssessment.do";
	}
	form1.submit();
}


</script>
<title>Insert title here</title>
</head>
<body>

<h3 align="right">

	
	<form action="${initParam.rootPath }/member/logout.do" id="form1">
	<td>${sessionScope.login_member.memberId } 님 안녕하세요.&nbsp&nbsp&nbsp
	<img src="/world/image/main/로그아웃E.jpg" onclick="sendForm('logout')" style='cursor:pointer' />
	<img src="/world/image/main/마이페이지E.jpg" onclick="sendForm('myPage')" style='cursor:pointer' /></td>
	</form>
	<!-- 
	<form action="${initParam.rootPath }/member/logout.do">
		<input type="submit" value="로그아웃"/>
	</form>

	<form action="mypage.jsp">
		<input type="submit" value="마이페이지"/>
	</form>
	 -->
</h3>

</body>
</html>